a = input("请输入第一个边：")
b = input("请输入第二个边：")
c = input("请输入第三个边：")
a = int(a)
b = int(b)
c = int(c)
if (a + b > c) and (a + c > b) and (b + c > a):
    if a == b == c:
        print("等边三角形")
    elif a * a + b * b == c * c:
        print("直角三角形")
    elif a * a + c * c == b * b:
        print("直角三角形")
    elif b * b + c * c == a * a:
        print("直角三角形")
    elif a == c:
        print("等腰三角形")
    elif b == c:
        print("等腰三角形")
    elif a == b:
        print("等腰三角形")
    else:
        print('普通三角形')
else:
    print("不能构成三角形")
